package cn.dust.design.pattern.structural.composite.Military;

import java.util.Iterator;

public class MilitarySoldior extends MilitaryPerson{
	
	public MilitarySoldior(String name, double salary) {
		super(name, salary);
	}

	@Override
	public void add(MilitaryPerson person) {

	}

	@Override
	public void remove(MilitaryPerson person) {
		
	}

	@Override
	public MilitaryPerson getChild(int index) {
		return null;
	}

	@Override
	public Iterator<MilitaryPerson> getAllChildren() {
		return null;
	}

	@Override
	public boolean isLeaf() {
		return true;
	}

}
